﻿#pragma once

#include "IRoutine.h"
#include <map>
#include "RoutineFactory.h"


class CombatRoutine {
public:
	static CombatRoutine & inst();
	~CombatRoutine();
	IRoutine * GetRoutine(int player_class, SpecializationID player_spec);
private:
	CombatRoutine();
	using map_routine = std::map<SpecializationID, IRoutinePtr>;
	map_routine map_routine_;
	RoutineFactory routine_factory_;
};

